﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QL_DTTN.DTO.DTO
{
public partial class DanToc :DtoClass
    {
    public DanToc()
    { _tableName = "DanToc";
    _keyField = "Ma" + _tableName;
    }
    public DanToc(Int16 maDanToc, string tenDanToc)
    {
        _tableName = "DanToc";
        _keyField = "Ma" + _tableName;
        this.MaDanToc = maDanToc;
        this.TenDanToc = tenDanToc;
    }
        private Int16 _MaDanToc = 0;

        public Int16 MaDanToc
        {
            get { return _MaDanToc; }
            set { _MaDanToc = value; }
        }
    private string _TenDanToc = "";

    public string TenDanToc
    {
        get { return _TenDanToc; }
        set { _TenDanToc = value; }
    }
    }
}
